USGS Earthquakes Data Visualization

We retrieved this data from USGS Earthquakes. Link Here We used request API to keep updating our data.

current_time = datetime.utcnow().strftime('%Y-%m-%dT%H:%M:%S')
api_url = "https://earthquake.usgs.gov/fdsnws/event/1/query"
parameters = {
    'format': 'geojson',  
    'starttime': '2023-01-01',  
    'endtime': current_time,  
    'minmagnitude': 4.5}
response = requests.get(api_url, params=parameters)
data = response.json()
earthquakes = data['features']

<!DOCTYPE html>

Search The Data & Methods

Below is where we can put some links to both the data and the analysis code as buttons: